/**
 * 单元名称：wechatTweet
 * 单元功能：微信推文相关接口
 * 所属模块功能：微信推文相关接口
 * 创建人：liang
 * 创建时间：231128
 * 修改人：
 * 修改时间：
 */

import { get, post, put, patch, del, } from '../request'

// AllInfoArtice 资讯文章推文
export const postAllInfoArtice = (data) => post('api/v1/AllInfoArtice', data) // 新增文章
export const putAllInfoArtice = (data) => put('api/v1/AllInfoArtice', data) // 编辑文章
export const patAllInfoArtice = (data) => patch('api/v1/AllInfoArtice', data) // 更新状态
export const delAllInfoArtice = (params) => del(`api/v1/AllInfoArtice?${params}`) // 删除文章
export const getAllInfoArtice = (data) => get('api/v1/AllInfoArtice', data) // 查询明细
export const getAllInfoArticeQueryDataAll = (data) => get('api/v1/AllInfoArtice/query_data_all', data) // 查询列表 全部
export const getAllInfoArticeQueryData = (data) => get('api/v1/AllInfoArtice/query_data', data) // 查询列表 分页

// AllServiceMessage 微信公众号模板消息发送
export const postAllServiceMessage = (data) => post('api/v1/AllServiceMessage', data) // 新增模板信息
export const putAllServiceMessage = (data) => put('api/v1/AllServiceMessage', data) // 编辑模板信息
export const patAllServiceMessage = (data) => patch('api/v1/AllServiceMessage', data) // 更新模板信息状态
export const delAllServiceMessage = (params) => del(`api/v1/AllServiceMessage?${params}`) // 删除模板信息
export const getAllServiceMessage = (data) => get('api/v1/AllServiceMessage', data) // 查询模板信息详情
export const getAllServiceMessageQueryData = (data) => get('api/v1/AllServiceMessage/query_data', data) // 查询列表 分页
export const getAllServiceMessageQueryTmplList = (data) => get('api/v1/AllServiceMessage/query_template_list', data) // 查询公众号模板列表 全部
export const getAllServiceMessageQueryTmplCont = (data) => get('api/v1/AllServiceMessage/query_template_content', data) // 查询公众号模板内容
export const getAllServiceMessageQueryTmplsendCustomers = (data) => get('/api/v1/AllServiceMessage/template_send_customers', data) // 查询全部、班车客户列表 全部
export const postAllServiceMessageTmplSendSingle = (data) => post('/api/v1/AllServiceMessage/template_send_single', data) // 新增
export const postAllServiceMessageTmplSendBatch = (data) => post('/api/v1/AllServiceMessage/template_send_batch', data) // 新增
export const postAllServiceMessageTmplSendQueue = (data) => post('/api/v1/AllServiceMessage/template_send_queue', data) // 新增
export const getAllServiceMessageTmplSendRec = (data) => get('api/v1/AllServiceMessage/template_send_record', data) // 
export const getAllServiceMessageTmplSendRecListPage = (data) => get('api/v1/AllServiceMessage/template_send_record_list_paging', data) // 

// export const post = (data) => post('', data)
// export const put = (data) => put('', data)
// export const pat = (data) => patch('', data)
// export const del = (data) => del('', data)
// export const get = (data) => get('', data)